﻿namespace Whut.ObjectSharePointMapper.Internals
{
    using System;
    using System.Reflection;

    public class FieldInfo
    {
        public FieldInfo(Guid fieldId, PropertyInfo propertyInfo)
        {
            this.FieldId = fieldId;
            this.PropertyInfo = propertyInfo;
            this.PropertyType = propertyInfo.PropertyType;
        }

        public Guid FieldId { get; private set; }

        public PropertyInfo PropertyInfo { get; private set; }

        public Type PropertyType { get; private set; }
    }
}
